package cn.tedu.cwfw.order.mapper;

import cn.tedu.cwfw.order.pojo.dto.OrderDTO;
import cn.tedu.cwfw.order.pojo.vo.OrderVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrderMapper {
    void addOrder(OrderVO orderVO);

    List<OrderVO> findOrder(OrderDTO orderDTO);

    OrderVO findOrderById(Long id);

    void deleteOrder(Long id);

}
